package band.wukong.practice.springboot.boot.hello;

import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.stereotype.*;
import org.springframework.web.bind.annotation.*;


/**
 * hello - spring boot first sample
 *
 * @author wukong(wukonggg@139.com)
 */
@Controller
@EnableAutoConfiguration
public class HelloApplication {

    @RequestMapping("/hello")
    @ResponseBody
    String index() {
        return "Hello Spring Boot! ";
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(HelloApplication.class, args);
    }


}
